package com.gewu.pm.bean;

/**
 * 收款单数据模型
 */
public class PaymentReceiptBean {
    
    /** 终端名称 */
    private String terminalName;
    /** 提交人 */
    private String submitter;
    /** 提交时间 */
    private String submitTime;
    /** 单据编号 */
    private String receiptNo;
    /** 收款方式 */
    private String paymentMethod;
    /** 收款金额 */
    private String amount;
    /** 是否有标签（如"代支付"） */
    private boolean hasTag;
    /** 标签文字 */
    private String tagText;

    public PaymentReceiptBean() {
    }

    public PaymentReceiptBean(String terminalName, String submitter, String submitTime, 
                         String receiptNo, String paymentMethod, String amount) {
        this.terminalName = terminalName;
        this.submitter = submitter;
        this.submitTime = submitTime;
        this.receiptNo = receiptNo;
        this.paymentMethod = paymentMethod;
        this.amount = amount;
        this.hasTag = false;
    }

    public PaymentReceiptBean(String terminalName, String submitter, String submitTime, 
                         String receiptNo, String paymentMethod, String amount, 
                         String tagText) {
        this.terminalName = terminalName;
        this.submitter = submitter;
        this.submitTime = submitTime;
        this.receiptNo = receiptNo;
        this.paymentMethod = paymentMethod;
        this.amount = amount;
        this.hasTag = true;
        this.tagText = tagText;
    }

    public String getTerminalName() {
        return terminalName;
    }

    public void setTerminalName(String terminalName) {
        this.terminalName = terminalName;
    }

    public String getSubmitter() {
        return submitter;
    }

    public void setSubmitter(String submitter) {
        this.submitter = submitter;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }

    public String getReceiptNo() {
        return receiptNo;
    }

    public void setReceiptNo(String receiptNo) {
        this.receiptNo = receiptNo;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public boolean isHasTag() {
        return hasTag;
    }

    public void setHasTag(boolean hasTag) {
        this.hasTag = hasTag;
    }

    public String getTagText() {
        return tagText;
    }

    public void setTagText(String tagText) {
        this.tagText = tagText;
    }
}

